<template>
    <div>
        <h1>这是注册组件</h1>
        <router-link to="/reg/email">邮箱注册</router-link>
        <router-link to="/reg/tel">号码注册</router-link>
        <transition>
            <router-view></router-view>
        </transition>
    </div>
</template>
<script>


</script>
<style scoped>
    .v-enter,.v-leave-to{
        opacity: 0;
        transform: translateY(20px);
    }
    .v-enter-active,.v-leave-active{
        transition: all 1s;
    }
    .v-leave-active{
        position: absolute;
    }
</style>